package ru.evga.inse.server.gwt.user.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * The outermost UI of the application.
 */
public class Shell extends Composite {
	interface Binder extends UiBinder<Widget, Shell> {
	}

	private static final Binder BINDER = GWT.create(Binder.class);

	@UiField SimplePanel m_mainMenu;
	@UiField SimplePanel m_subMenu;
	@UiField SimplePanel m_content;

	public Shell() {
		initWidget(BINDER.createAndBindUi(this));
	}

	public SimplePanel getMainMenu() {
		return m_mainMenu;
	}

	public SimplePanel getSubMenu() {
		return m_subMenu;
	}

	public SimplePanel getContent() {
		return m_content;
	}

}
